<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Simple Module <i>CoordBasedRouting</i></h2>
<b>Package:</b> oversim.common.cbr<br/><b>File: <a href="src-common-cbr-CoordBasedRouting.ned.html">src/common/cbr/CoordBasedRouting.ned</a></b><br/><p><a href="../doxy/classCoordBasedRouting.html" target="mainframe"><b>C++ definition</b></a></p>

<p>Global Module for providing allround CBR information</p>
<img src="oversim.common.cbr.CoordBasedRouting-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="oversim.common.cbr.CoordBasedRouting.html" title="CoordBasedRouting" alt="CoordBasedRouting" coords="0,0,161,40">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.common.cbr.CoordBasedRouting-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="oversim.common.cbr.CoordBasedRouting.html" title="Simple Module CoordBasedRouting" alt="" coords="29,83,168,111">
<area shape="rect" id="node2" href="oversim.common.cbr.CoordBasedRoutingModules.html" title="Compound Module CoordBasedRoutingModules" alt="" coords="5,6,192,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.common.cbr.CoordBasedRouting-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="oversim.common.cbr.CoordBasedRouting.html" title="Simple Module CoordBasedRouting" alt="" coords="5,6,144,34">
</map>
<h3 class="subtitle">Used in compound modules:</h3>
<p>If a module type shows up more than once, that means it has been defined in more than one NED file.</p>
<table>
<tr>
   <td>
      <a href="oversim.common.cbr.CoordBasedRoutingModules.html">CoordBasedRoutingModules</a>
      <i> (compound&nbsp;module)</i>
   </td>
   <td>
<i>(no description)</i>
   </td>
</tr>
</table>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">areaCoordinateSource</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>@display("i=block/users");
bool enabled;</p>
   </td>
</tr>
<tr class="local">
   <td width="150">CBRstartAtDigit</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
<p>start at this digit using CBR</p>
   </td>
</tr>
<tr class="local">
   <td width="150">CBRstopAtDigit</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
<p>stop at this digit using CBR
int coordCalcRuns;                  // How many runs will be started with random coordinates when calculating a node's coordinates?
double waitForLandmarks @unit(s);   // If not enough landmarks are available yet: Wait how long until next try?
bool onlyCoordFault;                // only coord measuring RTTs should be manipulated
int coordCheckPercentage;           // Sets the  Range (in Percent) for which malicious computed Coordinates are allowed</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">class</td>
   <td width="100"><i>CoordBasedRouting</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// Global Module for providing allround CBR information
//
</span><span style="color: #800000; font-weight: bold; ">simple</span><span style="color: #000000; "> </span><span style="color: #000000; ">CoordBasedRouting</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000000; font-weight: bold; ">@class</span><span style="color: #000000; ">(</span><span style="color: #000000; ">CoordBasedRouting</span><span style="color: #000000; ">);
        </span><span style="color: #808080; font-style: italic; ">//@display(&quot;i=block/users&quot;);
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">//bool enabled;
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">areaCoordinateSource</span><span style="color: #000000; ">;        </span><span style="color: #808080; font-style: italic; ">// XML filename
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">CBRstartAtDigit</span><span style="color: #000000; ">;                </span><span style="color: #808080; font-style: italic; ">// start at this digit using CBR
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">CBRstopAtDigit</span><span style="color: #000000; ">;                 </span><span style="color: #808080; font-style: italic; ">// stop at this digit using CBR
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">//int coordCalcRuns;                  // How many runs will be started with random coordinates when calculating a node's coordinates?
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">//double waitForLandmarks @unit(s);   // If not enough landmarks are available yet: Wait how long until next try?
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">//bool onlyCoordFault;                // only coord measuring RTTs should be manipulated
</span><span style="color: #000000; ">        </span><span style="color: #808080; font-style: italic; ">//int coordCheckPercentage;           // Sets the  Range (in Percent) for which malicious computed Coordinates are allowed
</span><span style="color: #000000; ">}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
